// 基于template/src/register/page-comp-register.ts.hbs生成
import type { App } from 'vue';
export function registerPageComp(app: App) {
{{#each app.pages as | page |}}
    {{#or
        (eq page.type 'DEEDITVIEW')
        (eq page.type 'DEGRIDVIEW')
        (eq page.type 'DEPICKUPVIEW')
        (eq page.type 'DEMPICKUPVIEW')
        (eq page.type 'DEPICKUPGRIDVIEW')
        (eq page.type 'DEPICKUPTREEVIEW')
        (eq page.type 'DEMEDITVIEW9')
        (eq page.type 'DEPORTALVIEW')
        (eq page.type 'DETREEVIEW')
        (eq page.type 'DETREEEXPVIEW')
        (eq page.type 'DECUSTOMVIEW')
        (eq page.type 'DECHARTVIEW')
        (eq page.type 'DECALENDARVIEW')
        (eq page.type 'DELISTVIEW')
        (eq page.type 'DEOPTVIEW')
        (eq page.type 'DEEDITVIEW2')
        (eq page.type 'DEEDITVIEW3')
        (eq page.type 'DEEDITVIEW4')
        (eq page.type 'DEHTMLVIEW')
        (eq page.type 'DECALENDAREXPVIEW')
        (eq page.type 'DEGRIDEXPVIEW')
        (eq page.type 'DELISTEXPVIEW')
        (eq page.type 'DETABEXPVIEW')
        (eq page.type 'DEPANELVIEW')
        (eq page.type 'DEWIZARDVIEW')
        (eq page.type 'DEDATAVIEW')
        (eq page.type 'DEEDITVIEW9')
        (eq page.type 'DEGRIDVIEW9')
    }}
    app.component('{{page.codeName}}', defineAsyncComponent(() =>import('../views/{{#if page.psAppModule.codeName}}{{spinalCase page.psAppModule.codeName}}/{{/if}}{{spinalCase page.codeName}}/{{spinalCase page.codeName}}.vue')));
    {{/or}}
{{/each}}
}